package io.wit.modules.sys.service;

import io.wit.modules.sys.entity.SysItemEntity;

import java.util.List;
import java.util.Map;

/**
 * 字典管理
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-12-27 14:25:28
 */
public interface SysItemService {
	
	SysItemEntity queryObject(Long itemId);
	
	List<SysItemEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysItemEntity SysItem);
	
	void update(SysItemEntity SysItem);
	
	void delete(Long itemId);
	
	void deleteBatch(Long[] itemIds);

	List<SysItemEntity> queryNotItemList();

	List<SysItemEntity> queryItemList(Long itemId);

	List<SysItemEntity> getUint();

	List<SysItemEntity> getTypeRoles(final Long subjectId);

    List<SysItemEntity> getTypeDept(final Long subjectId);
}